﻿using BCEntity.Common.SystemConfiguration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BCData.Common.SystemConfiguration
{
	/// <summary>
	/// 系统配置
	/// </summary>
	public interface ISystemConfigurationData
	{
		#region  成员方法
		/// <summary>
		/// 查询系统配置是否存在
		/// </summary>
		/// <param name="systemConfigurationId">系统配置Id</param>
		/// <returns></returns>
		Task<bool> Exists(int systemConfigurationId);
		/// <summary>
		/// 更新系统配置
		/// </summary>
		/// <param name="entity">系统配置信息</param>
		Task<SystemConfigurationEntity> Update(SystemConfigurationEntity entity);
		/// <summary>
		/// 获取系统配置
		/// </summary>
		Task<SystemConfigurationEntity> GetEntity();
		#endregion  成员方法
	}
}
